package com.jy.admin.auth.vo;

import java.io.Serializable;
import java.util.Map;

/**
 * admin 后台用户
 * Created with IntelliJ IDEA.
 * User: binary
 * Date: 2019/4/8
 * Time: 下午4:01
 */
public class AdminVo implements Serializable {

    private Long adminId;

    private String adminName;

    public Integer weight = 10000;

    public int currentWeight = 0;

    public int needCount = 0;//需要分配数
    /**
     * 人员画像
     */
    private Map<String, AdminProfile> adminProfile;
    /**
     * 当前订单数
     */
    private int currentOrderNum = 0;

    public AdminVo() {
        super();
    }

    public AdminVo(Long adminId, Integer weight, int currentWeight) {
        this.adminId = adminId;
        this.weight = weight;
        this.currentWeight = currentWeight;
    }


    public AdminVo(Long adminId, int needCount) {
        this.adminId = adminId;
        this.needCount = needCount;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public int getCurrentWeight() {
        return currentWeight;
    }

    public void setCurrentWeight(int currentWeight) {
        this.currentWeight = currentWeight;
    }

    public int getNeedCount() {
        return needCount;
    }

    public void setNeedCount(int needCount) {
        this.needCount = needCount;
    }

    public String getAdminName() {
        return adminName;
    }

    public AdminVo setAdminName(String adminName) {
        this.adminName = adminName;
        return this;
    }

    public Map<String, AdminProfile> getAdminProfile() {
        return adminProfile;
    }

    public AdminVo setAdminProfile(Map<String, AdminProfile> adminProfile) {
        this.adminProfile = adminProfile;
        return this;
    }

    public int getCurrentOrderNum() {
        return currentOrderNum;
    }

    public AdminVo setCurrentOrderNum(int currentOrderNum) {
        this.currentOrderNum = currentOrderNum;
        return this;
    }
}
